package com.ruoyi.vstac.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作品 对象 vstac_work
 * 
 * @author ruoyi
 * @date 2024-06-11
 */
public class VstacWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 作品ID */
    private Long workId;

    /** 学校 */
    @Excel(name = "学校")
    private String school;

    /** 报名组别 */
    @Excel(name = "报名组别")
    private Long workGrpup;

    /** 作品名称 */
    @Excel(name = "作品名称")
    private String workName;

    /** 参赛姓名 */
    @Excel(name = "参赛姓名")
    private String names;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date commitTime;

    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setWorkGrpup(Long workGrpup) 
    {
        this.workGrpup = workGrpup;
    }

    public Long getWorkGrpup() 
    {
        return workGrpup;
    }
    public void setWorkName(String workName) 
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setNames(String names) 
    {
        this.names = names;
    }

    public String getNames() 
    {
        return names;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCommitTime(Date commitTime) 
    {
        this.commitTime = commitTime;
    }

    public Date getCommitTime() 
    {
        return commitTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workId", getWorkId())
            .append("school", getSchool())
            .append("workGrpup", getWorkGrpup())
            .append("workName", getWorkName())
            .append("names", getNames())
            .append("phone", getPhone())
            .append("commitTime", getCommitTime())
            .toString();
    }
}
